package com.yzf.smsforward;

import android.app.Application;
import android.content.Context;
import android.content.Intent;

import org.xutils.x;

public class MyApplication extends Application {
    public static Context appContext;

    @Override
    public void onCreate() {
        super.onCreate();
        if (appContext == null) {
            appContext = MyApplication.this;//创建MyApplication对象
        }
        x.Ext.init(this);
        x.Ext.setDebug(true); //输出debug日志，开启会影响性能
    }

}
